#pragma warning(disable:4996)
#include<stdio.h>
int main()
{
	long lower, upper, fahr;//华氏度 摄氏度
	double celsius;
	scanf("%d %d", &lower, &upper);
	if (!(lower <= upper))
		printf("输入错误!");
	for (fahr = lower; fahr <= upper; fahr += 2) {
		celsius = (5.0 / 9.0) * (fahr - 32);
		printf("%4d->%6.1f\n", fahr, celsius);
	}

	return 0;
}